{% extends "base.html" %} {% block content %}
<h1>创建用户:</h1>
<div class="pageContent">
	<form action="" method="post">
		{% csrf_token %}
		<p>
			{{form.username.errors}} <label for="id_username">用户名</label> {{form.username}}
		</p>
		<p>
			{{form.last_name.errors}} <label for="id_last_name">真实姓名</label> {{form.last_name}}
		</p>
		<p>
			{{form.password1.errors}} <label for="id_password1">密码</label> {{form.password1}}
		</p>
		<p>
			{{form.password2.errors}} <label for="id_password2">确认密码</label> {{form.password2}}
		</p>
		<p>
			{{form.dept.errors}} <label for="id_dept">部门</label> {{form.dept}}
		</p>

		<p>
			{{form.title.errors}} <label for="id_title">职务</label> {{form.title}}
		</p>
		<p>
			{{form.email.errors}} <label for="id_email">电子邮箱</label> {{form.email}}
		</p>
		<p>
			{{form.gender.errors}} <label for="id_gender">性别</label> {{form.gender}}
		</p>
		<p>
			{{form.birthday.errors}} <label for="id_birthday">生日</label> {{form.birthday}}
		</p>
		<input type="submit" value="创建">
	</form>
</div>

{% endblock %}
